package edu.gmu.messages;
public class Unsubscribe implements edu.gmu.middleware.Message{
public Unsubscribe() { }
public int[] topics;
public Client client;

public void marshal(edu.gmu.streams.BlockOutputStream output) throws java.io.IOException{
    int topicsSize = topics.length;
    output.writeInt( topicsSize );
    output.write( topics );
    this.client.marshal(output);
}

public void unmarshal(edu.gmu.streams.BlockInputStream input) throws java.io.IOException{
    int topicsSize = input.readInt();
    this.topics = new int[topicsSize];
    input.read( topics );
    this.client = new Client();
    this.client.unmarshal(input);
}
}
